//
//  AllWeatherRadial.m
//  Chapt11_CarProperties_v11-01
//
//  Created by Ronald Ram on 17/03/2011.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import "AllWeatherRadial.h"


@implementation AllWeatherRadial

@synthesize rainHandling;
@synthesize snowHandling;


-(id) initWithPressure: (float) p threadDepth: (float) td
{
    if ( self = [super initWithPressure:p threadDepth:td] ) 
    {
        rainHandling = 23.7;
        snowHandling = 42.5;
    }
    
    return (self);
}


-(NSString *) description
{
    return ( [[NSString alloc] initWithFormat: @"AllWeatherRadial: %.1f / %.1f / %.1f / %.1f", 
              [self pressure], [self threadDepth], [self rainHandling], [self snowHandling]
              ] );
}

@end
